package cn.yiyuan.org.mapper;


import cn.yiyuan.org.domain.Emp;
import cn.yiyuan.org.query.DepQuery;

import java.io.Serializable;
import java.util.List;

/**
 * @user m
 * @project system
 * @date 2023-10-28
 * @package cn.yiyuan.org.mapper
 */
public interface EmpMapper {
    void insert(Emp dep);

    void delete(Serializable id);

    void update(Emp dep);

    List<Emp> getAll();

    Emp getById(Serializable id);


    Long queryTotal(DepQuery depQuery);

    List<Emp> queryPage(DepQuery depQuery);
}
